package com.cens.mall.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cens.common.utils.PageUtils;
import com.cens.mall.commodity.entity.SpuInfoDescEntity;
import com.cens.mall.commodity.entity.SpuInfoEntity;
import com.cens.mall.commodity.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author cens
 * @email wzccens@163.com
 * @date 2020-07-11 13:11:30
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long id);
}

